package com.kuang.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

@SpringBootApplication
@EnableEurekaClient
@EnableDiscoveryClient
//刷新的  curl -X POST "http://localhost:8001/actuator/refresh"
@RefreshScope
public class PaymentConfig8001 {

    public static void main(String[] args) {
        SpringApplication.run(PaymentConfig8001.class,args);
    }
}
